<!DOCTYPE html>
<html xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>北大药学院</title>
    <link href="/css/patient.css" rel="stylesheet">
    <style th:inline="css">
        * {
            padding: 0;
            margin: 0;
            font-family: 微软雅黑;
            list-style: none;
        }

        .box_shadow {

            background-size: 240px 220px;
            border-radius: 5px;
            width: 245px;
            height: 270px;
            border: 1px solid #e1e1e8;
            margin: 20px 15px;
            z-index: 0;
            text-align: center;
        }

        .box_up {
            width: 245px;
            height: 110px;
            background-color: #e0e0e0;
            float: left;
            position: relative;
            border-radius: 5px;
            bottom: -160px;
            left: -1px;
            z-index: 5;
            opacity: 0.6;
        }

        .box_title {
            width: 100%;
            background-color: #ffffff;
            height: 80px;
            box-shadow: 0 10px 10px 0 #66788152;
            position: fixed;
            right: -0;
            left: 0;
            z-index: 99
        }

        .box_title_box {
            width: 80%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
        }

        . {
            display: flex;
            margin-top: 25px;
        }

        .box_bottom {
            width: 75%;
            margin: 0 auto;
            padding-top: 100px;
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        .box_numb {
            border: 1px solid #e1e1e8;
            background-color: #ffffff;
            width: 245px;
            height: 60px;
            float: left;
            border-radius: 5px;
            position: relative;
            top: -330px;
            left: -1px;
            z-index: 10;
            padding: 19px 11px;
            text-align: left;
            color: #0C0C0C;
        }

        .box_departm {
            font-size: 17px;
            font-weight: 600;
            color: #0C0C0C;
        }

        .box_title_right {
            display: flex;
            margin-top: 25px;
            padding-right: 20px;
        }

        .box_hover:hover {
            opacity: 0.6;
        }

        .box_hover {
            padding-top: 80px;
            color: #ffff;
            font-size: 42px;
            position: relative;
            width: 244px;
            height: 270px;
            z-index: 1;
            border-radius: 5px;
            background-color: #726c6c;
            opacity: 0;
            top: -274px;
        }
    </style>
</head>
<body>
<div class="box_title_title">
    <div class="box_title_box">
        <div>
            <!--            <img src="/zp/bjdxrmyy.png">-->
            <h1 style="padding: 15px;font-weight: 400;font-size: 36px;">北大·药学院</h1>
        </div>
        <div class="box_title_right">
            <div>姓名&nbsp|</div>
            <div>&nbsp学号&nbsp|</div>
            <div>&nbsp班级</div>
        </div>
    </div>
</div>

<div class="box_bottom">
    <div class="box_shadow" style=" background-image: url([[${department.departmentimg}]]);"
         th:each="department:${departm}"
    >
        <div><img style="width: 244px;height: 270px;" th:src="${department.departmentimg}">
            <a th:href="@{/views/views/patients(id=${department.id})}">
                <div class="box_hover" style="" th:text="${department.departmentName}">

                </div>
                <div class="box_numb" style="display: flex;justify-content: space-between;padding: 19px 11px;">
                 <span class="box_departm"
                       th:text="${department.departmentName}"></span>
                    <span style="padding: 0 3px;font-size: 16px"
                          th=text:"${department.id}">病例数：[[${department.id}]]</span>
                </div>
            </a>
        </div>
    </div>
</div>
</body>
</html>